#include <iostream>
using namespace std;
#include "brass.h"

int main() {
  Brass piggy("Porcelot pigg", 381299, 4000.00);
  BrassPlus hoggy("Horatio hogg", 382288, 3000.00);
  piggy.ViewAcct();
  cout << endl;
  hoggy.ViewAcct();
  cout << endl;

  cout << "Depositing $1000 into the hogg accent:" << endl;
  hoggy.Deposit(1000.00);
  cout << "New balance:" << hoggy.Balance() << endl;

  cout << "Withdraw $4200 from the pigg accent" << endl;
  piggy.Withdraw(4200.00);
  cout << "piggy new balance :" << piggy.Balance() << endl;

  cout << "Withdraw $4200 from the hogg accent" << endl;
  hoggy.Withdraw(4200.00);
  hoggy.ViewAcct();

  return 0;
}
